{% extends "videocapture/root.html" %}
{% load i18n %}

{% block title %}{% blocktrans with show_day=day|date:"d F Y" %}Videos for {{ show_day }}{% endblocktrans %}{% endblock %}

{% block content %}

    <div class="row col-lg-12">
        <h1 class="page-header">{% blocktrans with show_day=day|date:"d F Y" %}Videos for {{ show_day }}{% endblocktrans %}</h1>
    </div>
    
    <hr>

	{% if object_list %}
		{% for video in object_list %}
            <h1><a href="{{video.get_watch_video_url}}">{{video.title}}</a></h1>
            <i>Filmed on {{video.dateFilmed}}</i>
		    <a href="{{ video.get_watch_video_url }}">
                <img width="300" height="150" src="{{ video.get_thumbnail_url }}" class="thumbnail" alt="{{ video.title }}">
		    </a>
            <hr>
		{% endfor %}
	{% else %}
		<p>{% trans "No videos were found" %}.</p>
	{% endif %}

    <div><a href="{% url 'videocapture:video-archive-month' day.year day|date:"m"|lower %}" class="btn btn-default">{% trans "View all videos for month" %}</a></div>

{% endblock %}
